import { AppstoreOutlined, SettingOutlined, UserOutlined, SyncOutlined, BranchesOutlined } from '@ant-design/icons';
import React from 'react';
const menuList = [
    {
        key: "/setting",
        icon: React.createElement(BranchesOutlined),
        label: "系统设置",
        children:
            [
                {
                    key: "setting/setlighting",
                    label: "灯光控制系统",
                    children:
                        [
                            {
                                key: "setting/setlighting/DMX",
                                label: "DXM灯光控制系统"
                            },
                            // {
                            //     key: "setting/setlighting/ble",
                            //     label: "蓝牙控制系统"
                            // }, {
                            //     key: "setting/setlighting/changeSet",
                            //     label: "系统切换"
                            // },
                        ]
                }
                //, {
                //     key: "setting/scene",
                //     label: "其他控制系统"
                // },
            ]
    },
    // {
    //     key: "/service",
    //     icon: React.createElement(SyncOutlined),
    //     label: "用户服务",
    //     children:
    //         [
    //             {
    //                 key: "service/center",
    //                 label: "会员中心"
    //             }, {
    //                 key: "service/rundata",
    //                 label: "跑步数据"
    //             }, {
    //                 key: "service/socialize",
    //                 label: "社交平台",
    //                 children:
    //                     [
    //                         {
    //                             label: '内容列表',
    //                             key: 'service/socialize/socialize1',
    //                         },
    //                         {
    //                             label: '系统回复',
    //                             key: 'service/socialize/socialize2',
    //                         },
    //                         {
    //                             label: '审核管理',
    //                             key: 'service/socialize/socialize3',
    //                         }
    //                     ]
    //             }, {
    //                 key: "service/wonderful",
    //                 label: "精彩瞬间"
    //             }
    //         ]
    // },
    {
        key: "/running",
        icon: React.createElement(UserOutlined),
        label: "智慧夜跑",
        children:
            [
                {
                    key: "running/lighting",
                    label: "灯光互动"
                }, {
                    key: "running/wonderful",
                    label: "沿途精彩瞬间"
                }, {
                    key: "running/sound",
                    label: "手机语音管理"
                }, {
                    key: "running/map",
                    label: "内置地图监控"
                }, {
                    key: "running/line",
                    label: "路线智能规划"
                }, {
                    key: "running/distribution",
                    label: "用户分布"
                }
                , {
                    key: "running/socialize",
                    label: "社交平台",
                    children:
                        [
                            {
                                label: '内容列表',
                                key: 'running/socialize/socialize1',
                            },
                            {
                                label: '系统回复',
                                key: 'running/socialize/socialize2',
                            },
                            {
                                label: '审核管理',
                                key: 'running/socialize/socialize3',
                            }
                        ]
                }, {
                    key: "running/data",
                    label: "跑步数据统计"
                }, {
                    key: "running/game",
                    label: "线上赛事",
                    children:
                        [
                            {
                                label: '活动报名管理',
                                key: 'running/game/application',
                            },
                            {
                                label: '活动发布管理',
                                key: 'running/game/manage',
                            },
                            {
                                label: '创建活动',
                                key: 'running/game/create',
                            }
                        ]
                }, {
                    key: "running/ad",
                    label: "商业广告"
                },
            ]
    },
    {
        label: '设备管理',
        key: '/manage',
        icon: React.createElement(AppstoreOutlined),
        children:
            [
                {
                    label: '蓝牙网关',
                    key: 'manage/ble',
                    children:
                        [
                            {
                                label: '在线情况',
                                key: 'manage/ble/online',
                            },
                            {
                                label: '功能设定',
                                key: 'manage/ble/function ',
                            },

                        ]
                },
                {
                    label: '蓝牙灯具',
                    key: 'manage/amps',
                },
                {
                    label: 'AI摄像头',
                    key: 'manage/camera',
                }, {
                    label: '蓝牙微波传感器',
                    key: 'manage/sensor',
                }
            ]
    },
    //  {
    //     label: '数据库管理',
    //     key: '/database',
    //     icon: React.createElement(SyncOutlined),
    //     children: [
    //         {
    //             label: '设备编号',
    //             key: 'database/device',
    //         },
    //         {
    //             label: '用户跑步数据',
    //             key: 'database/statistics',
    //         },
    //         {
    //             label: '用户精彩瞬间',
    //             key: 'database/userwonderful',
    //         }
    //     ]
    // },

    {
        label: '日志管理',
        key: '/log',
        icon: React.createElement(SyncOutlined),
        children: [
            {
                label: '金鸡湖智慧跑',
                key: 'log/lake',
            },
            {
                label: '七福餐厅',
                key: 'log/Restaurant',
            },
            {
                label: '巡检日志',
                key: 'log/loglake',
            },

        ]
    },




]
export default menuList;
